﻿namespace Microsoft.SharePoint.Client
{
    using System;
    using System.ComponentModel;

    [ScriptType("SP.RelatedFieldCollection", ServerTypeId="{4703193f-e3ed-445b-8612-7c6218e0eb5a}")]
    public class RelatedFieldCollection : ClientObjectCollection<RelatedField>
    {
        [EditorBrowsable(EditorBrowsableState.Never)]
        public RelatedFieldCollection(ClientRuntimeContext Context, ObjectPath ObjectPath) : base(Context, ObjectPath)
        {
        }

        protected override bool InitOnePropertyFromJson(string peekedName, JsonReader reader)
        {
            bool flag = base.InitOnePropertyFromJson(peekedName, reader);
            if (flag)
            {
                return flag;
            }
            return flag;
        }
    }
}

